package com.hzncc.scaffold.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzncc.scaffold.core.ResultT;
import com.hzncc.scaffold.entity.Other.Questionlib;
import com.hzncc.scaffold.entity.Vo.CommitQuestionBankVo;
import com.hzncc.scaffold.entity.Vo.QuestionLibDetailVo;
import com.hzncc.scaffold.entity.Vo.UpdateQuestionBankVo;

/**
 * <p>
 * 题库表 服务类
 * </p>
 *
 * @author DrunkBear
 * @since 2022-04-27
 */
public interface QuestionlibService extends IService<Questionlib> {
    public ResultT addQuestionLib(Questionlib questionlib);

    public ResultT deleteQuestionLib(Integer questionLibId);

    public ResultT updateQuestionLib(UpdateQuestionBankVo updateQuestionBankVo);

    public ResultT listQuestionLib(Integer pageNum, Integer pageSize, String keyword, Integer majorId);

    public ResultT listQuestionLibPlus(Integer pageNum,Integer pageSize,Integer majorId,Integer isFree,String keyword,Integer isExercise);

//    public ResultT detail(Integer questionLibId,Integer type);

    public ResultT detail(String  questionLibld);

    public ResultT search(Questionlib questionlib);

    public ResultT commit(CommitQuestionBankVo commitQuestionBankVo);
}
